<template>
  <div class="guide">
    <NavBar />
    <div>
      <div class="box">
        <div class="banner1">
          <img src="../../assets/guide/banner1.jpg" alt="" style="width: 100%">
        </div>
        <div class="w1200">
          <div class="image">

            <div class="banner2">
              <img src="../../assets/guide/banner2-2.jpg" alt="">
            </div>
            <div class="banner3">
              <img src="../../assets/guide/banner2-3.jpg" alt="">
            </div>
          </div>
          <div class="mine">
            <b>中亿理投师，让您更懂金融</b>
            <button @click="regEvent">点击注册</button>
          </div>
        </div>
      </div>
    </div>
    <Footer />
  </div>
</template>
<script>
import NavBar from '@/components/nav-bar'
import Footer from '@/components/footer'
export default {
  components: {
    NavBar,
    Footer
  },
  data () {
    return {
      loading: false
    }
  },
  computed: {
    userId () {
      return this.$store.state.me.sysUser.userId
    }
  },
  methods: {
    regEvent () {
      if (this.userId) {
        window.layer.msg('您已经登录！')
        return false
      } else {
        document.documentElement.scrollTop = document.body.scrollTop = 0
        window.loginPop.open('reg')
      }
    }
  }
}
</script>
<style lang="scss" scoped>
.guide {
  background-color: #fff;
  padding-bottom: 60px;
  .box .w1200 {
    width: 1200px;
    margin: auto;
    text-align: center;
  }

  .box .w1200 img {
    width: 100%;
  }

  .mine {
    border-top: 1px solid #e6e6e6;
    /* padding-top: 40px; */
    padding: 40px 0;
    margin-top: 40px;
  }

  .mine b {
    font-size: 30px;
  }

  .mine button {
    width: 238px;
    height: 77px;
    border-radius: 39px;
    color: #fff;
    margin-left: 36px;
    font-size: 24px;
    cursor: pointer;
    border: none;
    outline: none;
    background: url(../../assets/guide/jiantou.png) no-repeat 160px 30px;
    background-color: #f23e3e;
    text-align: left;
    text-indent: 60px;
  }
}
</style>
